<h1>Editing question</h1>

<% form_for(@question) do |f| %>
  <%= f.error_messages %>


  <%= render :partial => 'form', :locals => {:f => f} %>
  <p>
    <%= f.submit 'Update' %>
  </p>
<% end %>

<%= link_to 'Show', @question %> |
<%= link_to 'Back', questions_path %>
